package top.eggcode.system.modules.monitor.store;

import org.springframework.stereotype.Repository;
import top.eggcode.common.base.JpaSimpleStore;
import top.eggcode.plugins.query.CriteriaBuilder;
import top.eggcode.system.modules.monitor.model.MetricUsage;

import javax.annotation.Resource;
import javax.persistence.EntityManager;

@Repository
public class MetricUsageStore extends JpaSimpleStore<MetricUsage, String> {
    @Resource
    private CriteriaBuilder builder;

    public MetricUsageStore(EntityManager manager) {
        super(MetricUsage.class, manager);
    }
}
